<%-- 
    Document   : ProsesLoginBiro
    Created on : 17 Nov 12, 11:07:01
    Author     : aldya
--%>

<%@ page session="true" %>
<jsp:useBean id="loginBean" scope="page" class="Model1.LoginBiro" />

<%
            if (loginBean.login(request.getParameter("userNamebiro"),
                    request.getParameter("passwordbiro"))) {
                request.getRequestDispatcher("FormBiro.jsp").forward(request, response);
            } else 
            {
                response.sendRedirect("formLoginBiro1.jsp?error=banget?nama-atau-kata-sandi-salah");
            }
%>